<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>角色管理</title>
 </head>
<body> 
 
<div id="role-layout"  class="easyui-layout" data-options="fit:true" style="margin-top:5px;">  
	<div data-options="region:'west',title:'角色信息',collapsible:false,width:'35%'" style="border-left:0"> 
	    <div id="toolbar_module" class="paddingTBL">
			<div class="paddingB">
				<label>系统名称&nbsp;</label>
				<input id="fsysflag_module" name="fsysflag"/>
			 
				<span class="paddingbtn"></span>
				<a href="#" id="query_module" class="easyui-linkbutton" onclick="queryModule()">查询</a>
			</div>
			 
			<a href="#" id="add_module" class="easyui-linkbutton" onclick="addModule()">添加</a>
			<span class="paddingbtn"></span>
			<a href="#" id="edit_module" class="easyui-linkbutton" onclick="editModule()">修改</a>
			<span class="paddingbtn"></span>
			<a href="#" id="save_module" class="easyui-linkbutton" onclick="removeModule()">删除</a>
	    </div>
	    <table id="dataGrid_module"></table>
	 </div>
	
	 <div data-options="region:'east',collapsible:false,width:'65%'" style="border-left:0;padding-left:9px;border-top:0">
	    <div class="easyui-layout" data-options="fit:true">
	        <div data-options="region:'west',title:'分配菜单',collapsible:false,width:'64%'">
		       	   <div class="paddingTBL"> 
		       	 	 <a href="#" id="expand_module" class="easyui-linkbutton" onclick="expandModule()">展开全部</a>
					<span class="paddingbtn"></span>
					<a href="#" id="collapse_module" class="easyui-linkbutton" onclick="collapseModule()">收起全部</a>
					 <span class="paddingbtn"></span>
					<a href="#" id="save_module" class="easyui-linkbutton" onclick="saveModuleMenu()">保存</a>
		         </div>
				 <ul id="tree_module" style="margin: 5px 0 0 40px;"></ul>
		     </div>
		     
		     <div data-options="region:'east',title:'功能菜单设置',collapsible:false,width:'35%'">
			    	<div id="toolbar_content" class="paddingTBL">
			    	    <a href="#" id="saveCon_module" class="easyui-linkbutton" onclick="saveMenuContents()">保存</a>
			    	</div>
			    	<table id="content_module"></table>
			 </div>
	   </div>
   </div>
</div>
 
<div id="dialog_module" class="easyui-dialog" style="width:320px;height:180px;"
        data-options="iconCls:'icon-save',resizable:true,modal:true,closed:true">
    <form id="moduleForm_module" method="post">
    	<table class="paddingTBL" cellspacing="10">
    	    <tr>
    			<td class="res_title">角色编号</td>
    			<td><input type="text" id="number_module" name="fcode" class="easyui-textbox" required="required" data-options="width:160,height:24"/></td>
    		</tr>
    		<tr>
    			<td class="res_title">角色名称</td>
    			<td><input type="text" id="name_module" name="fname" class="easyui-textbox" required="required" data-options="width:160,height:24"/></td>
    		</tr>
    	</table>
    </form>
</div> 
 
<script src="<%=request.getContextPath()%>/js/systemMaintenance/role.js"></script> 

</body>
</html>